home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
graphics
/
fxforge
/
mapped checkers
< prev
next >
Wrap
Text File
|
1999-06-15
|
747b
|
26 lines
Category: Filter Factory Gallery F
Title: Mapped Checkers...
Author: Alfredo Mateus, Ilyich the Toad
Copyright: Copyright © Alfredo Mateus, Ilyich the Toad
ctl[0]: checkers division
ctl[1]: X-displace
ctl[2]: Y-displace
ctl[3]:
ctl[4]:
ctl[5]:
ctl[6]:
ctl[7]:
val[0]: 5
val[1]: 0
val[2]: 0
val[3]: 0
val[4]: 0
val[5]: 0
val[6]: 0
val[7]: 0
R:put(scl(i,0,255,val(1,0,X),-val(1,0,X)),0),put(scl(i,0,255,val(2,0,Y),-val(2,0,Y)),1),sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
G:sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
B:sin(scl(x+get(0),0,X,-512*ctl(0),512*ctl(0)))>0^sin(scl(y+get(1),0,Y,-512*ctl(0),512*ctl(0)))>0?0:255
A:a